﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VisualStudioProvider;

namespace TestVSProvider
{
    class Program
    {
        static void Main(string[] args)
        {
            var project = new VSProject(@"C:\Users\Ken\Desktop\ClassLibrary\TestProcess\classlibrary.csproj");

            project.RemoveItem((VSProjectItem)project.Items.Where(i => i.Name == "Class1.cs").Single());
            project.Save();
        }
    }
}
